//
//  HJDDetailViewController.m
//  JYHospital
//
//  Created by 胡金东 on 16/5/16.
//  Copyright © 2016年 胡金东. All rights reserved.
//

#import "HJDDetailViewController.h"

@interface HJDDetailViewController ()

@end

@implementation HJDDetailViewController

-(void)viewWillAppear:(BOOL)animated
{
    [super viewWillAppear:animated];
    self.navigationController.navigationBarHidden = NO;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor whiteColor];
    self.title = @"医院简介";
    [self.navigationController.navigationBar setTitleTextAttributes:
     @{NSFontAttributeName:[UIFont systemFontOfSize:19],
       NSForegroundColorAttributeName:[UIColor getColorWithHexNumber:@"848484"]}];
    
    self.navigationItem.leftBarButtonItem = [UIBarButtonItem itemWithTarget:self action:@selector(backBtnClick) image:@"︿" HighImage:nil];
    

}

//返回
-(void)backBtnClick{
    [self dismissViewControllerAnimated:YES completion:nil];
}

@end
